<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<link
	href="/Faltante-portlet/css/pepper-grinder/jquery-ui-1.10.2.custom.css"
	rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen" 	href="/Faltante-portlet/css/pepper-grinder/ui.jqgrid.css" />
	<script src="/Faltante-portlet/js/jquery-1.9.1.js"></script>
	<script src="/Faltante-portlet/js/jquery-ui-1.10.2.custom.js"></script>
	<script src="/Faltante-portlet/js/ui/jquery.ui.core.js"></script>
	<script src="/Faltante-portlet/js/ui/jquery.ui.widget.js"></script>
	<script src="/Faltante-portlet/js/ui/jquery.ui.position.js"></script>
	
	<script src="/Faltante-portlet/js/ui/jquery.ui.autocomplete.js" type="text/javascript"></script>

<script	src="http://www.trirand.com/blog/jqgrid/js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="http://www.trirand.com/blog/jqgrid/js/jquery.jqGrid.js" type="text/javascript"></script>
<script src="/Faltante-portlet/js/pedidos/funcionpedidos.js" type="text/javascript"></script>
	<style>
	#project-label {
		display: block;
		font-weight: bold;
		margin-bottom: 1em;
	}
	#project-icon {
		float: left;
		height: 32px;
		width: 32px;
	}
	#project-description {
		margin: 0;
		padding: 0;
	}
	</style>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<jsp:useBean id="almacenes" class="java.lang.String" scope="request" />
<jsp:useBean id="faltanteUrl" class="java.lang.String" scope="request" />
<jsp:useBean id="logIn" class="java.lang.String" scope="request" />
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored ="false" %> 
<portlet:defineObjects />

<table style="width: 100%;" border="0">

	<tr>
		<td colspan="2">
		Almacen <select id="almacenes">
		<option>Seleccione almacen</option>
				
		</select>
		<b>Clave producto:</b> 
		<input id="project">
<input type="hidden" id="project-id">

</td>
	
			<td style="text-align: left;"><button id="button"
				class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
				role="button" aria-disabled="false" onclick=agregararticulo()>
				<span class="ui-button-text"> Agregar</span>
			</button></td>
	</tr>
		<tr>
		<td>&nbsp</td>
	</tr>
	<tr>

		<td colspan="3">
			<div id="base" style="width: 100%; background: red;">
				<div style=" width: 500px;">
					<table id="agregafaltante" style="width: 100%" >
					</table>
					<div id="agregafaltantefoot" style="width: 100%"></div>
				</div>
			</div>
		</td>
	</tr>

	<tr>
		<td style="text-align: center;" colspan="3"></td>
	</tr>
	<tr>
		<td>&nbsp</td>
	</tr>
	<tr>
		<td><button id="pedir"
				class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
				role="button" aria-disabled="false">
				<span class="ui-button-text"> Pedir</span>
			</button></td>
		</td>

		<td >
		
		</td>
		<td>
		<button id="faltante"
				class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
				role="button" aria-disabled="false">
				<span class="ui-button-text"> Ver faltante</span>
			</button></td>
		</td>
	</tr>
</table>
<form  id='formQcpReport' name ='formfaltante' action ='<%=faltanteUrl%>' method ='post'>
<input type="submit"/>
</form>



